package welsir.security.annotations;

import welsir.security.enums.UserEnums;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Authentication {

    boolean value() default true;

    UserEnums role() default UserEnums.USER;
}
